function* fhq() {
  let id = 1;
  while (true) {
    yield id++;
  }
}
const fn = fhq();
console.log(fn.next().value);
console.log(fn.next().value);
console.log(fn.next().value);
console.log(fn.next().value);
